package com.oocl.pojo;

import java.util.Date;

public class Customer {
	private String id;
	private String name;
	private boolean sex;
	private double sal;
	private Date birth;

	public Customer() {
		super();
	}

	public Customer(String id, String name, boolean sex, double sal, Date birth) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.sal = sal;
		this.birth = birth;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public double getSal() {
		return sal;
	}

	public void setSal(double sal) {
		this.sal = sal;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	@Override
	public String toString() {
		return "Customer [id=" + id + ", name=" + name + ", sex=" + sex
				+ ", sal=" + sal + ", birth=" + birth + "]";
	}

}
